Enable optimizations by default
authorAlex Crichton <alex@alexcrichton.com>
Wed, 7 Oct 2015 17:49:00 +0000 (10:49 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 7 Oct 2015 18:49:06 +0000 (11:49 -0700)
commit8daf33506f7f4f37872130665fb6c405ce58f5c5
tree75a14905fb33b68ebd5f18a653dd3c84a3eb9330
parent68e6799809d073ebccc7ed90d5dde8042bb850ad
Enable optimizations by default

This change mirrors the compiler by enabling optimizations by default rather
than by default producing an unoptimized Cargo build. I was curious why #2033
hit a debug assertion when we don't ship any binaries with debug assertions
enabled, but it looked like Cargo was installed via Homebrew which [does not
currently enable optimizations][homebrew]. I'll also send a PR over there, but I
figured it'd be also good to nip this in the bud and just start enabling
optimizations by default.

[homebrew]: https://github.com/Homebrew/homebrew/blob/5d09dd/Library/Formula/rust.rb#L69
.travis.yml
Makefile.in
configure